package caishu;

import java.util.Random;
import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Random r=new Random();
        int num = r.nextInt(10)+1;

        Scanner sc=new Scanner(System.in);


        for (int i1 = 0; i1 < 5; i1++) {
            int i = sc.nextInt();
            if(num>i){
                System.out.println("猜小了");
            }
            else if(num<i){
                System.out.println("猜大了");
            }
            else{
                System.out.println("猜对了");
                break;
            }
        }
    }
}
